package com.itheima.service;

import com.itheima.domain.Teacher;

import java.util.ArrayList;

public interface ITeacherService {
    
    //增 
    void  addTeacher(Teacher teacher);
    //删 
    void deleteTeacher(String sid);
    
    //改 
    void updateTeacher(String sid, Teacher newTea);
    
    //查
    ArrayList<Teacher> findAllTeachers();
    
    //判断学号是否存在
    boolean isExists(String sid);
}
